package com.scpii.api.domain.common;

import java.io.Serializable;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.scpii.api.common.json.serializer.OptionValuesSerializer;
import com.scpii.api.common.json.serializer.ResourceUrlsSerializer;

public class FieldMask implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7448530831432127172L;

	private Integer row;

	private Integer col;

	private Integer length;

	private Boolean required;

	@JsonSerialize(using = OptionValuesSerializer.class, include = JsonSerialize.Inclusion.NON_NULL)
	private String[] optionValues;

	@JsonSerialize(using = ResourceUrlsSerializer.class, include = JsonSerialize.Inclusion.NON_NULL)
	private String[] optionImageUrls;

	public Boolean getRequired() {
		return required;
	}

	public void setRequired(Boolean required) {
		this.required = required;
	}

	public Integer getRow() {
		return row;
	}

	public void setRow(Integer row) {
		this.row = row;
	}

	public Integer getCol() {
		return col;
	}

	public void setCol(Integer col) {
		this.col = col;
	}

	public Integer getLength() {
		return length;
	}

	public void setLength(Integer length) {
		this.length = length;
	}

	public String[] getOptionValues() {
		return optionValues;
	}

	public void setOptionValues(String[] optionValues) {
		this.optionValues = optionValues;
	}

	public String[] getOptionImageUrls() {
		return optionImageUrls;
	}

	public void setOptionImageUrls(String[] optionImageUrls) {
		this.optionImageUrls = optionImageUrls;
	}

}
